package com.example03;

public class Seller extends Employee{
    private double salesVolume;
    private double commissionRate;
    public Seller(String name,double basicSale,double salesVolume,double commissionRate) {
        super(name,basicSale);
        this.salesVolume =salesVolume;
        this.commissionRate = commissionRate;
    }

    public double getSalesVolume() {
        return salesVolume;
    }

    public void setSalesVolume(double salesVolume) {
        this.salesVolume = salesVolume;
    }

    public double getCommissionRate() {
        return commissionRate;
    }

    public void setCommissionRate(double commissionRate) {
        this.commissionRate = commissionRate;
    }

    @Override
    public void updateName(String name) {

    }

    @Override
    public void calculateSalary(double sela) {

    }
}